package com.example.cdctest.mapper;

import com.example.cdctest.pojo.Education;
import com.example.cdctest.pojo.Post;

import java.util.List;

public interface EducationMapper {
    int deleteByPrimaryKey(Integer id);

    //添加学历信息
    int insert(Education record);

    int insertSelective(Education record);

    Education selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Education record);

    int updateByPrimaryKey(Education record);

    //从数据库取出学历信息,并转到学历管理界面
    List<Education> selectAllEducation();

    //修改岗位的状态信息
    void updateEducationEnable(Integer id);

    //修改学历排序
    void updateEducationSort(Education education);
}